<template>
  <div>
    {{mes}}
  </div>

</template>

<script>
export default {
  name: "Try",
  created() {
    if(Object.is(this.mes,'')){
      this.mes = '什么';
    }
    let user = new RegExp('xyz','i')
    console.log(user)
  },
  data(){
    return{
      mes:'',
    }
  }
}
</script>

<style scoped>

</style>
